package com.powernode.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * ClassName:LoginStrategy
 * Package:com.powernode.strategy
 * Description:
 * 登录策略接口
 * @date:2025/1/23 15:52
 * @author:bailihua
 */
public interface LoginStrategy {
    /**
     * 真正处理登录的方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
